package com.giveu.signature.module.template.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.giveu.common.bean.BaseEntity;
import lombok.Data;
/**
 * <p>
 * 模板与签章关联表
 * </p>
 *
 * @author zhaoruding
 * @since 2019-11-12
 */
@Data
@Table(name="sign_template_relation")
public class SignTemplateRelation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@Id
	private Long id;
	@Column(name="html_id")
	private Long htmlId;
	@Column(name="sign_id")
	private Long signId;
    /**
     * 签名的原因
     */
	private String reason;
    /**
     * 签名的地点
     */
	private String location;
    /**
     * 表单域名称
     */
	private String fieldName;
    /**
     * 签章页
     */
	@Column(name="page_num")
	private Integer pageNum;
    /**
     * 签章坐标(1,1,1,1)
     */
	private String rectangle;
	@Column(name="update_time")
	private Date updateTime;
	@Column(name="update_user")
	private String updateUser;
	@Transient
	private String signText;
	@Transient
	SignatureConfig signConfig;
}
